package com.njust.utils;

/**
 * @author zjwpro@foxmail.com
 * @date 2018/3/8 下午8:42
 */
public class StringUtil {

    public static String connectStr(String carrigenum,Integer wheelnum){
        return String.format("%s_%d",carrigenum,wheelnum);
    }

    public static String alarmandwarn(Integer alarm,Integer warn){
        return String.format("(%d,%d)",alarm,warn);
    }

    public static void main(String[] args) {
        String alarmandwarn = alarmandwarn(1, 1);
        System.out.println(alarmandwarn);
    }
}
